package com.yk.test.servcies.impl;

import com.yk.test.dao.UserMapper;
import com.yk.test.entity.User;
import com.yk.test.servcies.UserServices;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServicesImpl implements UserServices {

    @Autowired
    UserMapper userMapper;

    @Override
    public User findByUser(User user) {
        return userMapper.findByUser(user);
    }
}
